{
 "cells": [
  {
   "metadata": {
    "collapsed": true
   },
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": [
    "\n",
    "from langchain_core.tools import tool\n",
    "\n",
    "@tool\n",
    "def multiply(a: int, b: int) -> int:\n",
    "   \"\"\"Multiply two numbers.\"\"\"\n",
    "   return a * b"
   ],
   "id": "initial_id"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "https://python.langchain.com/docs/concepts/tools/",
   "id": "c19448072782f131"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "",
   "id": "927ca89ff9afbb28"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "",
   "id": "bd1468ad4badd44e"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-07-31T07:16:02.457824Z",
     "start_time": "2025-07-31T07:16:02.453487Z"
    }
   },
   "cell_type": "code",
   "source": "",
   "id": "2a8f536db566ccc9",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-07-31T07:16:02.474298Z",
     "start_time": "2025-07-31T07:16:02.471865Z"
    }
   },
   "cell_type": "code",
   "source": "",
   "id": "faad43d5090ed4f1",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-07-31T07:16:02.522225Z",
     "start_time": "2025-07-31T07:16:02.519153Z"
    }
   },
   "cell_type": "code",
   "source": "",
   "id": "7115eb3c7455b140",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-07-31T07:16:02.541614Z",
     "start_time": "2025-07-31T07:16:02.536192Z"
    }
   },
   "cell_type": "code",
   "source": "",
   "id": "fada24d02dd15eb1",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": "",
   "id": "6acb7d8fd03f2aaf"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
